<?php
class TroopCarrier extends Unit{

	function addUnit(Unit  $unit){
		if($unit instanceof Cavalry){
			throw new UnitException("Can't get a horse on the vehicle");
		}
		super::addUnit();
	}
	
	function bombardStrength(){
		return 0;
	}



}